<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.7, maximum-scale=1.0, user-scalable=no">
    <title>安装</title>
    <style>
        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
            line-height: 1.9;
            color: #2d3748;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        h1 {
            text-align: center;
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            margin: 0 0 2.5rem;
            color: #2c3e50;
            position: relative;
            padding-bottom: 1rem;
        }

        h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #4f6df5 0%, #3a56e6 100%);
            border-radius: 2px;
        }

        h2 {
            font-size: clamp(1.5rem, 4vw, 1.8rem);
            margin: 2.5rem 0 1.5rem;
            color: #2c3e50;
            position: relative;
            padding-left: 24px;
        }

        h2::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
            color: #4f6df5;
            font-size: 1.2em;
        }

        h3 {
            font-size: clamp(1.3rem, 3.5vw, 1.5rem);
            margin: 1.8rem 0 1.2rem;
            color: #c0392b;
            position: relative;
            padding-left: 24px;
        }

        h3::before {
            content: '⚠️';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.2em;
        }

        .text {
            margin-bottom: 2rem;
            text-indent: 2em;
            font-size: clamp(1rem, 3vw, 1.1rem);
            color: #4a5568;
            padding: 1.8rem;
            background: white;
            border-radius: 16px;
            box-shadow: 0 6px 20px rgba(148, 163, 184, 0.12);
            transition: transform 0.3s ease;
            line-height: 1.9;
        }

        .text:hover {
            transform: translateY(-2px);
        }

        .text mark {
            background-color: #fff9c4;
            color: #e67e22;
            font-weight: 500;
            padding: 2px 8px;
            border-radius: 4px;
        }

        .tip {
            margin: 2rem 0;
            padding: 1.8rem;
            background-color: #f1f9eb;
            border-left: 5px solid #a3d168;
            border-radius: 12px;
            color: #678539;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(163, 209, 104, 0.1);
            transition: transform 0.3s ease;
        }

        .tip:hover {
            transform: translateY(-2px);
        }

        .warning {
            margin: 2rem 0;
            padding: 1.8rem;
            background-color: #fff5f5;
            border-left: 5px solid #e74c3c;
            border-radius: 12px;
            color: #c0392b;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.1);
            transition: transform 0.3s ease;
        }

        .warning:hover {
            transform: translateY(-2px);
        }

        pre {
            background-color: #f8f9fa;
            padding: 1.2rem;
            border-radius: 8px;
            margin: 1.2rem 0;
            overflow-x: auto;
            font-family: "Consolas", "Monaco", monospace;
            font-size: clamp(0.9rem, 2.5vw, 0.95rem);
            color: #495057;
            line-height: 1.6;
            border: 1px solid #e9ecef;
        }

        a {
            color: #2980b9;
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
        }

        a:hover {
            color: #1a5276;
        }

        a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: #1a5276;
            transition: width 0.3s;
        }

        a:hover::after {
            width: 100%;
        }

        .guide-img {
            display: block;
            max-width: 90%;
            height: auto;
            margin: 2rem auto;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(148, 163, 184, 0.15);
            transition: transform 0.3s ease;
        }

        .guide-img:hover {
            transform: scale(1.01);
        }

        .back-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            background: linear-gradient(90deg, #4f6df5 0%, #3a56e6 100%);
            color: white;
            font-size: clamp(1rem, 3vw, 1.1rem);
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 3rem;
            box-shadow: 0 4px 12px rgba(79, 109, 245, 0.3);
        }

        .back-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(79, 109, 245, 0.4);
        }

        .back-button::before {
            content: "< ";
            margin-right: 8px;
        }

        @media (max-width: 768px) {
            body {
                padding: 2rem 1.5rem;
            }

            h1 {
                margin: 0 0 2rem;
            }

            h2 {
                font-size: 1.5rem;
                margin: 2rem 0 1.2rem;
                padding-left: 20px;
            }

            h2::before {
                font-size: 1.1em;
            }

            h3 {
                font-size: 1.3rem;
                margin: 1.3rem 0 0.8rem;
                padding-left: 20px;
            }

            h3::before {
                font-size: 1.1em;
            }

            .text, .tip, .warning {
                font-size: 1rem;
                padding: 1.5rem;
            }

            pre {
                font-size: 0.85rem;
                padding: 1rem;
                margin: 1rem 0;
            }

            .guide-img {
                max-width: 100%;
                border-radius: 12px;
                box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
            }

            .back-button  {
                display: none;
            }
        }
    </style>
</head>
<body>
    <main>
        <div class="back-button" onclick="window.history.back()">返回上一页</div>

        <h1 id="installation">FinalSuspect 安装</h1>

        <!-- 下载 -->
        <h2 id="download">下载</h2>
        <div class="text">
            <p>访问Release页面，下载最新版本的安装包。</p>
            <p>在GitHub上获取发行版：
                <a href="https://github.com/Slok7565/FinalSuspect/releases"
                    target="_blank" rel="noopener noreferrer">
                    点击此处
                </a>
            </p>
        </div>

        <!-- Steam安装 -->
        <h2 id="steam-installation">Steam平台安装</h2>
        <div class="tip">
            <p>如果您在安装原版Among Us时选择的是C盘，默认路径为：</p>
            <pre>C:\Program Files (x86)\Steam\steamapps\common\Among Us</pre>
            <p>按下<mark>Win</mark> + <mark>R</mark>，粘贴路径即可打开目录。</p>
        </div>

        <div class="text">
            <p>通过Steam打开游戏根目录：</p>
            <img src="https://api.xtreme.net.cn/Docs/FinalSuspect/Guide/OpenAmongUsWithSteam.png"
                alt="使用Steam打开Among Us根目录示意图"
                class="guide-img"
            >

            <p>将Final Suspect解压至Among Us根目录，完成后的结构应为：</p>
            <pre>C:\Program Files (x86)\Steam\steamapps\common\Among Us\BepInEx\plugins\FinalSuspect.dll</pre>
            <img src="https://api.xtreme.net.cn/Docs/FinalSuspect/Guide/SteamUnzip.png"
                alt="Steam平台解压完成示意图"
                class="guide-img"
            >
        </div>

        <!-- Epic安装 -->
        <h2 id="epic-installation">Epic平台安装</h2>
        <div class="tip">
            <p>Epic默认路径为：</p>
            <pre>C:\Program Files\Epic Games\AmongUs</pre>
            <p>通过Epic打开目录：</p>
            <img src="https://api.xtreme.net.cn/Docs/FinalSuspect/Guide/OpenAmongWithEpic.png"
                alt="使用Epic打开AmongUs目录示意图"
                class="guide-img"
            >
        </div>

        <div class="text">
            <p>解压Final Suspect至Epic游戏根目录示意图</p>
            <pre>C:\Program Files\Epic Games\AmongUs\BepInEx\plugins\FinalSuspect.dll</pre>
            <img src="https://api.xtreme.net.cn/Docs/FinalSuspect/Guide/EpicUnzip.png"
                alt="Epic平台解压完成示意图"
                class="guide-img"
            >
        </div>

        <!-- Epic警告 -->
        <div class="warning">
            <h3>Epic平台限制</h3>
            <p>必须安装在官方目录下，且<mark>不支持多模组共存</mark>。<br>
            非官方目录安装会导致<mark>校验失败</mark>，无法启动游戏。</p>
        </div>
    </main>
</body>
</html>